CVE-2025-68944
Gitea Token Scope Mishandle Vulnerability
Description
Gitea before 1.22.2 sometimes mishandles the propagation of token scope for access control within one of its own package registries.
INFO
Published Date :
Dec. 26, 2025, 4:15 a.m.
Last Modified :
Dec. 31, 2025, 10:30 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | 8254265b-2729-46b6-b9e3-3dfca2d5bfca | ||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update Gitea to version 1.22.2 or later.
- Verify access control configurations.
- Review token scope settings.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-68944.
| URL | Resource |
|---|---|
| https://blog.gitea.com/release-of-1.22.2/ | Release Notes |
| https://github.com/go-gitea/gitea/pull/31967 | Issue Tracking |
| https://github.com/go-gitea/gitea/releases/tag/v1.22.2 | Release Notes |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-68944 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-68944
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-68944 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-68944 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Dec. 31, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N Added CPE Configuration OR *cpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:* versions up to (excluding) 1.22.2 Added Reference Type MITRE: https://blog.gitea.com/release-of-1.22.2/ Types: Release Notes Added Reference Type MITRE: https://github.com/go-gitea/gitea/pull/31967 Types: Issue Tracking Added Reference Type MITRE: https://github.com/go-gitea/gitea/releases/tag/v1.22.2 Types: Release Notes -
New CVE Received by [email protected]
Dec. 26, 2025
Action Type Old Value New Value Added Description Gitea before 1.22.2 sometimes mishandles the propagation of token scope for access control within one of its own package registries. Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N Added CWE CWE-441 Added Reference https://blog.gitea.com/release-of-1.22.2/ Added Reference https://github.com/go-gitea/gitea/pull/31967 Added Reference https://github.com/go-gitea/gitea/releases/tag/v1.22.2